// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.AssetsDao;
import com.liuxinlong.modules.entity.Assets;
import com.liuxinlong.modules.mapper.AssetsMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * AssetsInfoDaoImpl
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年10月27日
 */
@Service
public class AssetsDaoImpl extends ServiceImpl<AssetsMapper, Assets> implements AssetsDao {

    @Override
    public List<Assets> pageAssetsInfo(Map<String, Object> queryParam) {
        return baseMapper.pageAssetsInfo(queryParam);
    }

    @Override
    public int getAssetsInfoCount(Map<String, Object> queryParam) {
        return baseMapper.getAssetsInfoCount(queryParam);
    }

    @Override
    public Assets getAssetsInfoByNo(String planNo) {
        return baseMapper.getAssetsInfoByNo(planNo);
    }

    @Override
    public Map<String, Map<String, String>> getAssetsMap() {
        return baseMapper.getAssetsMap();
    }

    @Override
    public List<Assets> getEffectiveAssets() {
        return baseMapper.getEffectiveAssets();
    }

    @Override
    public List<Assets> getAssetsList(Map<String, Object> queryParam) {
        return baseMapper.getAssetsList(queryParam);
    }

    @Override
    public List<Assets> getAllAssetsList() {
        return baseMapper.getAllAssetsList();
    }

}
